package com.seari.bean;


public class MenuPrivilege {
	
	//主键
	int	 mpid;
	//权限菜单名称
	String pmName;
	// 菜单code
	String pmCode;
	// 菜单描述
	String pmComment;
	// 菜单类型
	String menuType;
	// 菜单状态
	String statu;
	// 菜单图标
	String icon;
	// 菜单路径
	String src;
	// 父节点ID
	int  parentId;
	// 父节点名字
	String parentName;
	public String getParentName() {
		return parentName;
	}
	public void setParentName(String parentName) {
		this.parentName = parentName;
	}
	//checked：0-未选中，1-选中，2-半选。
	String checkArr = "0";
	public MenuPrivilege() {
		super();
		// TODO Auto-generated constructor stub
	}
	public MenuPrivilege(String parentName,int mpid, String pmName, String pmCode,
			String pmComment, String menuType, String statu,
			String icon, String src, int parentId, String checkArr) {
		super();
		this.parentName = parentName;
		this.mpid = mpid;
		this.pmName = pmName;
		this.pmCode = pmCode;
		this.pmComment = pmComment;
		this.menuType = menuType;
		this.statu = statu;
		this.icon = icon;
		this.src = src;
		this.parentId = parentId;
		this.checkArr = checkArr;
	}
	@Override
	public String toString() {
		return "MenuPrivilege [mpid=" + mpid + ", pmName=" + pmName
				+ ", pmCode=" + pmCode + ", pmComment=" + pmComment
				+ ", menuType=" + menuType  + ", statu="
				+ statu + ", icon=" + icon + ", src=" + src + ", parentId="
				+ parentId + ", checkArr=" + checkArr + "]";
	}
	public int getMpid() {
		return mpid;
	}
	public void setMpid(int mpid) {
		this.mpid = mpid;
	}
	public String getPmName() {
		return pmName;
	}
	public void setPmName(String pmName) {
		this.pmName = pmName;
	}
	public String getPmCode() {
		return pmCode;
	}
	public void setPmCode(String pmCode) {
		this.pmCode = pmCode;
	}
	public String getPmComment() {
		return pmComment;
	}
	public void setPmComment(String pmComment) {
		this.pmComment = pmComment;
	}
	public String getMenuType() {
		return menuType;
	}
	public void setMenuType(String menuType) {
		this.menuType = menuType;
	}

	public String getStatu() {
		return statu;
	}
	public void setStatu(String statu) {
		this.statu = statu;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getSrc() {
		return src;
	}
	public void setSrc(String src) {
		this.src = src;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public String getCheckArr() {
		return checkArr;
	}
	public void setCheckArr(String checkArr) {
		this.checkArr = checkArr;
	}
	
}
